package com.wu.common.util;

import android.content.Context;

/**
 * 作者:吴奎庆
 * <p>
 * 时间:2021/2/9
 * <p>
 * 用途:
 */


public class AppConfig {
    private static String APP_PACKEG = "";
    private static String APP_VERSION = "";
    private static boolean VERSION_AS_DEBUG = true;
    private static  Context appContext;

    public static void init(Context context,String pageName,String versionCode,boolean isDebug){
        appContext=context;
        APP_PACKEG=pageName;
        APP_VERSION=versionCode;
        VERSION_AS_DEBUG=isDebug;
    }

    public static String getAppVersion() {

        return APP_VERSION;
    }
}
